#
# Be sure to run `pod lib lint MCComponentExtension.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MCComponentExtension'
  s.version          = '0.2.1'
  s.summary          = 'Swift 开发常用的扩展'
  
  # This description is used to generate tags and improve search results.
  #   * Think: What does it do? Why did you write it? What is the focus?
  #   * Try to keep it short, snappy and to the point.
  #   * Write the description between the DESC delimiters below.
  #   * Finally, don't worry about the indent, CocoaPods strips it!
  
  s.description      = <<-DESC
  TODO: Add long description of the pod here.
  DESC
  
  s.homepage         = 'https://gitee.com/mancong'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'MC' => '562863544@qq.com' }
  s.source           = { :git => 'https://gitee.com/mancong/iOS_Component_extension.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  
  s.ios.deployment_target = '9.3'
  
  s.swift_version = '4.2'
  
  
  
  
  
  # 扩展
  s.subspec 'Bundle' do |ss|
      ss.source_files = "MCComponentExtension/Classes/Bundle+Extension.swift"
  end
  
  s.subspec 'ProgressHUD' do |ss|
      ss.source_files = "MCComponentExtension/Classes/ProgressHUD+Extension.swift"
      ss.dependency 'MBProgressHUD', '~> 1.1.0'
  end
  
  s.subspec 'String' do |ss|
      ss.source_files = "MCComponentExtension/Classes/String+Extension.swift"
  end
  
  s.subspec 'UIAlertController' do |ss|
      ss.source_files = "MCComponentExtension/Classes/UIAlertController+Extension.swift"
  end
  
  s.subspec 'UIColor' do |ss|
      ss.source_files = "MCComponentExtension/Classes/UIColor+Extension.swift"
  end
  
  s.subspec 'UIDevice' do |ss|
      ss.source_files = "MCComponentExtension/Classes/UIDevice+Extension.swift"
  end
  
  s.subspec 'UIFont' do |ss|
      ss.source_files = "MCComponentExtension/Classes/UIFont+Extension.swift"
  end
  
  s.subspec 'UIImage' do |ss|
      ss.source_files = "MCComponentExtension/Classes/UIImage+Extension.swift"
  end
  
  s.subspec 'UserDefaults' do |ss|
      ss.source_files = "MCComponentExtension/Classes/UserDefaults+Extension.swift"
  end
  
end
